package c8.template;

public abstract class OnlineBanking {
    abstract void makeConsumerHappy(Customer c);
    public void processConsumer(int id){
        Customer c=InitData.consumers.get(id);
        if(c==null){
            System.out.println("oh,this consumer is not here,please check your id");
            return;
        }
        makeConsumerHappy(c);
    }

}
